package com.gopay.bis.service.bank;

import java.util.List;

import com.gopay.common.domain.bank.tpas.TpasMessage;
import com.gopay.common.domain.bank.tpas.TpasOrder;

public interface TpasOrderService {

    List<TpasOrder> getTpasOrdersByGopayOrderId(String orderId);

    TpasOrder addOrder(TpasMessage msg);

    TpasOrder getTpasOrderByCpOrderId(String orderId);

    int updateBackSuccess(String orderId);

    int updateBackFail(String orderId);

	int saveCpDebitAmount(String orderId, String amount);

	int updateInAcctFail(String outOrderId, String status);

}
